package org.example.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@Setter
@Getter
@ToString
@TableName("sys_user")
public class User implements Serializable {

    private Long id;
    private String password;
    private String username;
    private Date createTime;
    private Date lastLoginTime;  // 最后登录时间
    private String role;
}
